package tech.fangsong.im.core.cmd.family;


/**
 * 消息协议族
 */
public interface MESSAGE {
    static final byte FAMILY = (byte)0;

    enum COMMAND{
        SEND((byte)0,"发送");
        private byte cmd;
        private String desc;

        COMMAND(byte cmd,String desc){
            this.cmd = cmd;
            this.desc = desc;
        }

        public byte getCmd() {
            return cmd;
        }

        public void setCmd(byte cmd) {
            this.cmd = cmd;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }
    }
}
